package com.atguigu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author panghl
 * @Date 2020/12/26 19:47
 * @Description 自定义异常
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ELeanExeception extends RuntimeException {
  //状态码
  private Integer code;
  //异常信息
  private String msg;

}
